Skip to content

Conversation

ivomurrell
Copy link

Only include the library files from aws-sdk rather than the whole module. This means module bundler tools like webpack can tree shake the API JSON files of unused services when including http-aws-es as a dependency. Doing so can massively reduce bundle size of dependents.

Following advice from AWS's documentation on webpack: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/webpack.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant